10. Status machine diagram state machines diagramA state machine diagram is a common technique for describing a system's behavior. In an object-oriented approach, a state
: satisfies the condition state to be able to convert
Example Description: (Suppose to be a coffee machine)
1. Turn on the switch, the power-on light, the status of On::ready
2. Press the Make button to judge the guardianship conditions: whether there is water with coffee powder, to meet the working status, work lights
3. Finished, ready to light, the state conv
express. For example, we can see that the loan processing system is initially in the loan application state. When the pre-approval process is completed prior to approval, it is either transferred to the loan pre-approved State or to the loan rejected state based on the results of the process. This judgment (which is made during the conversion process) uses a jud
export the expected organizational structure,
By now, the organization chart has been exported through the Wizard. It is very intuitive. More information can be displayed on the chart, such as the department leader, Department number, and position, all information in the organization table can be displayed here.2. Export the structure diagram of visio through programming:In
Visio 2010 Reverse-Engineering The MySQL database build ER Database model diagram1, first need to download from MySQL for database link drive ODBCYes: http://dev.mysql.com/downloads/connector/odbc/Download it according to the appropriate version and install it locally after downloading2, start Visio2010 (other version of self-study)When creating a new document, select "Software and Database" in the template category, asThen jump to "select template",
Trufun PlatoTrufun Plato is a new generation of UML modeling software that provides efficient and fast modeling tools for your software analysis design.Trufun is a case tool manufacturer that synchronizes the release of uml2.x tools after the OMG release of the UML2.2 specification, and is a state-of-the-art, Enterprise-class UML tool based on the new concept of the Chinese. from the original trufun.net website, more UML materials and project models c
The state diagram is one of the diagrams of modeling the dynamic aspects of the system in UML, which describes the dynamic behavior of object state over time by establishing the life cycle model of the object. The state of an object in the system is easiest to discover and understand, so the first thing to consider is
state again, it can go directly into the sub-state, rather than starting again from the initial state of the combined state.Concurrency ZoneA state diagram can be divided into regions, and regions include exits or sub-states that are currently executing. Indicates that the
State MachineBefore understanding the state machine, the state is always simply understood as the state mode, recently, I carefully analyzed the state machine implementation mechanism,
The following is a Library management system state diagram, very typical, covering the use of all the elements of the state diagram, because the state diagram is relatively simple, directly from the view of the picture can be very
nested state machine is remembered;
The deep history pseudo State will remember the deepest nested state in any depth, expressed.
Next, let's look at a completed status chart.
Let's take a look at the effects drawn from visio:
It is more intuitive a
First, the concept of a state diagramA state diagram, also called a state machine diagram, represents the state of a model element during its life. From the start
1. Overview of the state diagramA state diagram (Statechart Diagram) is primarily used to describe the dynamic behavior of an object during its lifetime, as a sequence of states experienced by an object, an event that causes state transitions, and an action (action) that is
virtual machine stack in memory for each thread to represent the execution state and information of the thread. The elements in the virtual machine stack are called stack frames (JVM stack frame), and each stack frame represents the invocation information for a method. For example, see the following:The description described above may be somewhat abstract. In or
be called a "state-of-the-truth". One of the more common is to put a separate list of the display contents of each state. This table, which describes each status display, is called "Display truth tables." Similarly, we refer to a State migration table, which is based on a button, as a "key function truth." In addition, if each
to the server. But the server thought the new transport connection had been established and waited for the client to send the data. In this way, many of the server's resources are wasted. The use of "three-time handshake" method can prevent the above phenomenon. For example, in that case, the client does not issue confirmation to the server's confirmation. The server knows that the client does not require a connection because it cannot receive a confirmation. ”。 The main purpose is to prevent t
One: state diagram---> Status graph shows a state machine. The---> state machine is used to model the dynamic nature of the element. More specifically, the event-driven aspects of system behavior are modeled. ---> typically use a
state machine is an action that describes a sequence of states that an object or an interaction experiences in responding to an event within its lifecycle.
The behavior of collaboration between a single class or a group of classes can be described using a state machine.
A state
Please respect the results of the sharing, reproduced please indicate the source:http://blog.csdn.net/hejjunlin/article/details/52349221Preface: Starting from this article, will enter the multimedia framework, including MediaPlayer, Camera, Surface, Mediarecord, the next few are MediaPlayer related. Also look at the following agenda:
State diagram of the MediaPlayer
Idle
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.